package com.woniu.smart.service;

import com.woniu.smart.dto.EnterpricesDTO;
import com.woniu.smart.entity.Staffs;

import java.util.List;

public interface StaffsService {

    int deleteByPrimaryKey(Long id);

    int insert(Staffs record);

    int insertSelective(Staffs record);

    int insertSelectivesFotDTO(EnterpricesDTO record);

    Staffs selectByPrimaryKey(Long id);

    List<Staffs> selectStaffsAll();

    int updateByPrimaryKeySelective(Staffs record);

    int updateByPrimaryKey(Staffs record);

    //根据集合删除人员表信息
    int  deleteByStaffsPrimaryKeyList(List list);

}
